package com.tulingxueyuan.mall.modules.ums.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tulingxueyuan.mall.modules.ums.model.UmsMemberReceiveAddress;

import java.util.List;

/**
 * <p>
 * 会员收货地址表 服务类
 * </p>
 *
 */
public interface UmsMemberReceiveAddressService extends IService<UmsMemberReceiveAddress> {
    /**
     * 添加地址
     * @param address
     * @return
     */
    Boolean add(UmsMemberReceiveAddress address);

    /**
     * 修改地址
     * @param address
     * @return
     */
    Boolean  edit(UmsMemberReceiveAddress address);

    /**
     * 删除地址
     * @param id
     * @return
     */
    Boolean delete(Long id);

    List<UmsMemberReceiveAddress> listByMemberId();
}
